package com.finger.orderservice.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.finger.modelservice.model.order.OrderInfo;
import com.finger.modelservice.vo.order.OrderQueryVo;

import java.util.Map;

public interface OrderInfoService extends IService<OrderInfo> {
    // 保存订单
    String saveOrder(String scheduleId, String patientId);

    // 分页带条件查询订单接口
    IPage<OrderInfo> findOrderInfoPage(Page<OrderInfo> page, OrderQueryVo orderQueryVo);

    // 根据订单Id查询订单
    OrderInfo findOrderInfo(String orderId);

}
